package com.ply.flashsalessystem.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author XiaoPan
 * @since 2022-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Activity对象", description="")
public class Activity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动表id")
    @TableId(value = "activity_id", type = IdType.AUTO)
    private Integer activityId;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "活动描述")
    private String activityDetail;

//    @ApiModelProperty(value = "最低标准  达到最低标准的才可以享受活动")
//    private Double minStandard;

    @ApiModelProperty(value = "满减 满多少")
    private Double full;

    @ApiModelProperty(value = "满减 减多少")
    private Double reduced;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "开始时间")
    private Date openTime;

    @ApiModelProperty(value = "关闭时间")
    private Date closeTime;

    @ApiModelProperty(value = "状态:   0表示 未开始 1表示进行中 2表示已结束 3表示异常")
    private Integer status;

    @ApiModelProperty(value = "创建 管理员id")
    private Integer createManageId;

    @ApiModelProperty(value = "是否开启")
    private Integer enabled;


}
